/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pras.skripsi;

import com.pras.skripsi.sql.DataPasien;

/**
 *
 * @author wisnu
 */
public class Identity {

    private static DataPasien pasien;

    private Identity() {
    }

    public static DataPasien getPasien() {
        return pasien;
    }

    public static void setPasien(DataPasien pasien) {
        Identity.pasien = pasien;
    }

    public static Identity getInstance() {
        return IdentityHolder.INSTANCE;
    }

    private static class IdentityHolder {

        private static final Identity INSTANCE = new Identity();
    }
}
